]> dgit.raspbian.org Git - gnome-shell.git/commit
extensions/shared: Don't cache detected URL
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 13 Aug 2023 17:12:27 +0000 (19:12 +0200)
committerMarge Bot <marge-bot@gnome.org>
Mon, 14 Aug 2023 11:46:57 +0000 (11:46 +0000)
commitaf5dd7ddd178f5841e13d4e61f7947ed04ad8331
tree19ef61fb9a07ab2a4e9858bbe00c68596b91adbd
parent4cb503d48125cac0ee1371bc39a015869ef6132c
extensions/shared: Don't cache detected URL

The translation functions we export from extension utils must
work with all extensions, not only the first that calls one
of the functions.

That means that we are back to examining a backtrace for every
function call unless an extension defined its own translation
functions with `import.meta.url`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2887>
js/extensions/sharedInternals.js